﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    public interface ICopyrightBll
    {
        Task<int> AddCopyrightAsync(string title, string content, string logo,string image,string photo,string telephone,string fax,string qq,string weChat,string email,string address);
        Task<int> EditCopyrightAsync(int id, string title, string content, string logo, string image, string photo, string telephone, string fax, string qq, string weChat, string email, string address);
        Task<int> DeleteCopyrightAsync(int id);
        Task<List<CopyrightDto>> GetCopyrightAllAsync();
        Task<CopyrightDto> QueryCopyrightByIdAsync(int id);
        //Task<List<CopyrightDto>> QueryCopyrightByNameAsync(string title);
    }
}
